package me.zhengjie.dailyPoem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import me.zhengjie.dailyPoem.domain.DailyPoemDiscussion;
import me.zhengjie.dailyPoem.domain.vo.DailyPoemDiscussionQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author yellow
* @date 2025-04-21
**/
@Mapper
public interface DailyPoemDiscussionMapper extends BaseMapper<DailyPoemDiscussion> {

    IPage<DailyPoemDiscussion> findAll(@Param("criteria") DailyPoemDiscussionQueryCriteria criteria, Page<Object> page);

    List<DailyPoemDiscussion> findAll(@Param("criteria") DailyPoemDiscussionQueryCriteria criteria);


}